﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
namespace John
{
    public partial class Company_sale : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                try
                {
                    getNewDataList();
                }
                catch
                { }
            }

        }
        private void getNewDataList()//最新上架
        {
            try
            {
                string uName = Request.QueryString["name"].ToString();
                NDataList.DataSource = UserScreenControl.GetNewDataList("Company_Sale", uName);
                NDataList.DataBind();
            }
            catch (Exception ex)
            {
                Response.Write(ex.ToString());
            }
        }
    }
}
